1
general::
Also, under pain of. Subject to the penalty of a specific punishment. For example, The air traffic controllers knew that going on strike was on pain of losing their jobs. At one time this idiom often invoked death as the penalty, a usage that is largely hyperbolic today, as in We'd better be back on time, under pain of death. [Late 1300s]
American Heritage Idioms